// 内容管理
import request from '@/utils/request'

/**
 * @desc 添加品牌
 */
export function brandInsert(data = {}) {
    return request({
        method: 'post',
        url: '/brand/brandInsert',
        data
    });
}

/**
 * @desc 批量删除
 */
export function brandDeleteIds(data = {}) {
    return request({
        method: 'post',
        url: '/brand/brandDeleteIds',
        data
    });
}

/**
 * @desc 更新品牌活动
 */
export function brandUpdate(data = {}) {
    return request({
        method: 'post',
        url: '/brand/brandUpdate',
        data
    });
}

/**
 * @desc 查询列表
 */
export function brandSearch(data = {}) {
    return request({
        method: 'post',
        url: '/brand/brandSearch',
        data
    });
}

/**
 * @desc 单个查询
 */
export function brandById(data = {}) {
    return request({
        method: 'post',
        url: '/brand/brandById',
        data
    });
}
